package com.example.springbootwebconfig.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;

/**
 * @author ljw
 * @description
 * @date 2021/11/12 8:04
 */
public class DeptListener implements ServletRequestListener {
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.out.println("---------------------------->请求销毁DeptListener");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.out.println("---------------------------->请求创建DeptListener");
    }
}
